-
Home
-
Vitepos – Point of Sale (POS) for WooCommerce
-
3.0.3
-
Code
-
Classes
- POS_Role
| Total Complexity |
103 |
| Dependencies |
10 |
| Dependents |
2 |
| Total lines |
669 |
| Lines of code |
490 |
| Logical lines of code |
333 |
| Comment lines |
137 |
| Methods |
27 |
| Properties |
0 |
Methods 27
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| delete_item() |
A |
46 |
9 |
40 |
| role_prefix() |
A |
55 |
8 |
18 |
| access_data() |
S |
52 |
7 |
25 |
| acl_toggle() |
S |
50 |
6 |
31 |
| copy_role() |
S |
51 |
6 |
26 |
| updated_role() |
S |
52 |
6 |
25 |
| edit() |
S |
51 |
5 |
28 |
| status_change() |
S |
52 |
5 |
25 |
| is_agent_status_change() |
S |
51 |
5 |
25 |
| data() |
S |
52 |
5 |
23 |
| is_role_editable() |
S |
57 |
5 |
16 |
| default_resources() |
S |
40 |
2 |
53 |
| reset_role() |
S |
55 |
4 |
20 |
| reset_roles() |
S |
58 |
4 |
16 |
| add() |
S |
58 |
4 |
16 |
| new_role_added() |
S |
59 |
4 |
15 |
| item_details() |
S |
56 |
3 |
19 |
| removed_role() |
S |
66 |
4 |
8 |
| is_exists_role() |
S |
63 |
3 |
11 |
| on_init() |
S |
54 |
1 |
22 |
| initialize() |
S |
69 |
1 |
6 |
| get_action_prefix() |
S |
82 |
1 |
3 |
| option_form() |
S |
77 |
1 |
4 |
| on_active() |
S |
72 |
1 |
6 |
| get_menu_title() |
S |
80 |
1 |
3 |
| get_menu_sub_title() |
S |
80 |
1 |
3 |
| get_menu_icon() |
S |
82 |
1 |
3 |